Comparative selection algorithm plugin for d-pac platform
See d-pac.plugin specifications for more information
Based on NoMoreMarking's cj
module.
The algorithm accepts a queue (Array) of items, then:
compared.length
$ npm install --save comparative-selection
var cs = require('comparative-selection');
cs.select( representations );
select(items)
items
: {Object[]}
(required) Array of items with following minimal structure:
_id
: {String}
(required) Unique identifier for the itemcompared
: {String[]} (required) Array of unique identifiersGPL v3 © d-pac